package com.google.code.chaotic.client;

import java.util.List;

import com.google.code.chaotic.dto.CommuterDto;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface CommuterServiceAsync {

	void createCommuter(CommuterDto commuterDto, AsyncCallback<String> callback);

	void deleteCommuter(String id, AsyncCallback<Void> callback);

	void listCommuters(AsyncCallback<List<CommuterDto>> callback);

}
